package org.example.font.service;

import org.example.font.model.Emp;
import org.example.font.model.EmpQueryParam;
import org.example.font.model.LoginInfo;
import org.example.font.model.PageResult;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public interface EmpService {
    PageResult page(EmpQueryParam param);

    void add(Emp emp);

    void deleteById(List<Integer> ids);

    Emp findById(Integer id);

    void updateEmp(Emp emp);

    List<Emp> findAll();

    LoginInfo login(Emp emp);
}
